package view;
import java.awt.*;
import javax.swing.*;
import javax.swing.border.*;
//import com.jgoodies.forms.factories.*;
//import com.jgoodies.forms.layout.*;
/*
 * Created by JFormDesigner on Wed Jul 08 03:38:57 BRT 2009
 */



/**
 * @author alfeu buriti
 */
public class ProtUI extends JPanel {
	public ProtUI() {
		initComponents();
	}

	private void initComponents() {
		// JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
		// Generated using JFormDesigner Evaluation license - alfeu buriti
		panel2 = new JPanel();
		menuBar1 = new JMenuBar();
		menu6 = new JMenu();
		menu1 = new JMenu();
		menu3 = new JMenu();
		menu4 = new JMenu();
		menu5 = new JMenu();
		label1 = new JLabel();
		textField2 = new JTextField();
		button1 = new JButton();
		label2 = new JLabel();
		textField3 = new JTextField();
		button2 = new JButton();
		label3 = new JLabel();
		textField4 = new JTextField();
		button3 = new JButton();
		label5 = new JLabel();
		textField5 = new JTextField();
		button4 = new JButton();
		scrollPane1 = new JScrollPane();
		textPane1 = new JTextPane();
		label4 = new JLabel();
		button5 = new JButton();
		button6 = new JButton();
		button7 = new JButton();
		button8 = new JButton();
		button9 = new JButton();

		//======== panel2 ========
		{

			// JFormDesigner evaluation mark
			panel2.setBorder(new javax.swing.border.CompoundBorder(
				new javax.swing.border.TitledBorder(new javax.swing.border.EmptyBorder(0, 0, 0, 0),
					"JFormDesigner Evaluation", javax.swing.border.TitledBorder.CENTER,
					javax.swing.border.TitledBorder.BOTTOM, new java.awt.Font("Dialog", java.awt.Font.BOLD, 12),
					java.awt.Color.red), panel2.getBorder())); panel2.addPropertyChangeListener(new java.beans.PropertyChangeListener(){public void propertyChange(java.beans.PropertyChangeEvent e){if("border".equals(e.getPropertyName()))throw new RuntimeException();}});

			panel2.setLayout(new BorderLayout());

			//======== this ========
			{
				this.setBackground(new Color(236, 233, 233));
				this.setLayout(null);

				//======== menuBar1 ========
				{

					//======== menu6 ========
					{
						menu6.setText("Arquivo");
					}
					menuBar1.add(menu6);

					//======== menu1 ========
					{
						menu1.setText("Editar");
					}
					menuBar1.add(menu1);

					//======== menu3 ========
					{
						menu3.setText("Visualisar");
					}
					menuBar1.add(menu3);

					//======== menu4 ========
					{
						menu4.setText("Hist\u00f3rico");
					}
					menuBar1.add(menu4);

					//======== menu5 ========
					{
						menu5.setText("Ajuda");
					}
					menuBar1.add(menu5);
				}
				this.add(menuBar1);
				menuBar1.setBounds(0, 0, 248, menuBar1.getPreferredSize().height);

				//---- label1 ----
				label1.setText("Digite o n\u00famero da patente para servidor US:");
				this.add(label1);
				label1.setBounds(28, 65, 253, 17);
				this.add(textField2);
				textField2.setBounds(35, 85, 248, textField2.getPreferredSize().height);

				//---- button1 ----
				button1.setText("Pesquisar");
				this.add(button1);
				button1.setBounds(296, 85, 86, button1.getPreferredSize().height);

				//---- label2 ----
				label2.setText("Digite o n\u00famero da patente para servidor ESPACENET:");
				this.add(label2);
				label2.setBounds(28, 115, 339, label2.getPreferredSize().height);
				this.add(textField3);
				textField3.setBounds(35, 135, 248, textField3.getPreferredSize().height);

				//---- button2 ----
				button2.setText("Pesquisar");
				this.add(button2);
				button2.setBounds(296, 135, 86, button2.getPreferredSize().height);

				//---- label3 ----
				label3.setText("Digite a palavra da patente para o servidor ESPACENET:");
				this.add(label3);
				label3.setBounds(28, 165, 339, label3.getPreferredSize().height);
				this.add(textField4);
				textField4.setBounds(35, 190, 248, textField4.getPreferredSize().height);

				//---- button3 ----
				button3.setText("Pesquisar");
				this.add(button3);
				button3.setBounds(296, 190, 86, button3.getPreferredSize().height);

				//---- label5 ----
				label5.setText("Digite o n\u00famero da patente para o servidor OPS:");
				this.add(label5);
				label5.setBounds(28, 225, 339, label5.getPreferredSize().height);
				this.add(textField5);
				textField5.setBounds(35, 245, 248, textField5.getPreferredSize().height);

				//---- button4 ----
				button4.setText("Pesquisar");
				this.add(button4);
				button4.setBounds(296, 240, 86, button4.getPreferredSize().height);

				//======== scrollPane1 ========
				{
					scrollPane1.setViewportView(textPane1);
				}
				this.add(scrollPane1);
				scrollPane1.setBounds(25, 325, 875, 380);

				//---- label4 ----
				label4.setText("Conte\u00fado da Patente:");
				label4.setFont(new Font("Tahoma", Font.BOLD, 18));
				this.add(label4);
				label4.setBounds(35, 295, 250, 20);

				//---- button5 ----
				button5.setText("text");
				this.add(button5);
				button5.setBounds(new Rectangle(new Point(370, 295), button5.getPreferredSize()));

				//---- button6 ----
				button6.setText("text");
				this.add(button6);
				button6.setBounds(new Rectangle(new Point(500, 285), button6.getPreferredSize()));

				//---- button7 ----
				button7.setText("text");
				this.add(button7);
				button7.setBounds(new Rectangle(new Point(720, 260), button7.getPreferredSize()));

				//---- button8 ----
				button8.setText("text");
				this.add(button8);
				button8.setBounds(new Rectangle(new Point(720, 155), button8.getPreferredSize()));

				//---- button9 ----
				button9.setText("text");
				this.add(button9);
				button9.setBounds(new Rectangle(new Point(875, 290), button9.getPreferredSize()));

				{ // compute preferred size
					Dimension preferredSize = new Dimension();
					for(int i = 0; i < getComponentCount(); i++) {
						Rectangle bounds = getComponent(i).getBounds();
						preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
						preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
					}
					Insets insets = getInsets();
					preferredSize.width += insets.right;
					preferredSize.height += insets.bottom;
					setMinimumSize(preferredSize);
					setPreferredSize(preferredSize);
				}
			}
			panel2.add(this, BorderLayout.NORTH);
		}
		// JFormDesigner - End of component initialization  //GEN-END:initComponents
	}

	// JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables
	// Generated using JFormDesigner Evaluation license - alfeu buriti
	private JPanel panel2;
	private JMenuBar menuBar1;
	private JMenu menu6;
	private JMenu menu1;
	private JMenu menu3;
	private JMenu menu4;
	private JMenu menu5;
	private JLabel label1;
	private JTextField textField2;
	private JButton button1;
	private JLabel label2;
	private JTextField textField3;
	private JButton button2;
	private JLabel label3;
	private JTextField textField4;
	private JButton button3;
	private JLabel label5;
	private JTextField textField5;
	private JButton button4;
	private JScrollPane scrollPane1;
	private JTextPane textPane1;
	private JLabel label4;
	private JButton button5;
	private JButton button6;
	private JButton button7;
	private JButton button8;
	private JButton button9;
	// JFormDesigner - End of variables declaration  //GEN-END:variables
}
